@extends('admin.common.admin_main')
@section('container')
<div class="uc-body">
    <div class="uc-head">
        <ul>
            <li>
                <span class="sel">
                    业主信息
                </span>
                @if ($dataInfo['auth_status'] == 0)
                <span class="text-disabled">(未认证)</span>
                @elseif($dataInfo['auth_status'] == 1)
                <span class="text-warning">(认证中)</span>
                @elseif($dataInfo['auth_status'] == 3)
                <span class="text-success">(已认证)</span>
                @elseif($dataInfo['auth_status'] == 2)
                <span class="text-danger">(认证未通过)</span>
                @endif
            </li>
        </ul>
        <div class="fr">
            <a class="btn btn-warning" href="/user/company_edit?type=2">信息编辑</a>
        </div>
    </div>
    <div class="form form-table">
        <div class="form-body">
            <div class="row">
                <label class="col-1 control-label request-label">单位名称</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['company_name']}}</div>
                </div>
                <label class="col-1 control-label">单位性质</label>
                <div class="col-3">
                    <div class="static">{{$company_type_list[$dataInfo['company_type_id']]}}</div>
                </div>
                <label class="col-1 control-label">单位Logo</label>
                <div class="col-3">
                    <div class="static">
                        @if ($dataInfo['logo_info'])
                        <a class="j_fileUrl" data-href="{{$dataInfo['logo_info'][0]['url']}}">{{$dataInfo['logo_info'][0]['name']}}</a>
                        @endif
                    </div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label">法人代表</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['legan_user_name']}}</div>
                </div>
                <label class="col-1 control-label">联系电话</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['legan_user_phone']}}</div>
                </div>
                <label class="col-1 control-label">联系邮箱</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['legan_user_email']}}</div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label">注册时间</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['company_regist_date']}}</div>
                </div>
                <label class="col-1 control-label">注册资本</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['company_regist_money']}}  {{$dataInfo['company_regist_money_type']==1?"人民币":"美元"}}</div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label">注册地址</label>
                <div class="col-11">
                    <div class="static">{{$getAreaNameList[$p]['name']}} {{$getAreaNameList[$c]['name']}} {{$getAreaNameList[$a]['name']}} {{$dataInfo['company_regist_address']}}
                    </div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label request-label">联系人</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['contact_user_name']}}</div>
                </div>
                <label class="col-1 control-label request-label">联系手机</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['contact_user_phone']}}</div>
                </div>
                <label class="col-1 control-label">固定电话</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['fix_phone']}}</div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label">传真号码</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['fix_number']}}</div>
                </div>
                <label class="col-1 control-label request-label">Email</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['contact_user_email']}}</div>
                </div>
                <label class="col-1 control-label">邮编</label>
                <div class="col-3">
                    <div class="static">{{$dataInfo['zip_code']}}</div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label request-label">通信地址</label>
                <div class="col-11">
                    <div class="static">{{$getAreaNameList[$p1]['name']}} {{$getAreaNameList[$c1]['name']}} {{$getAreaNameList[$a1]['name']}} {{$dataInfo['contact_user_address']}}
                    </div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label">所属行业</label>
                <div class="col-10">
                    <div class="static">{{$dataInfo['company_industry']}}</div>
                </div>
            </div>
            <div class="row">
                <label class="col-1 control-label">单位简介</label>
                <div class="col-10">
                    <div class="static">{{$dataInfo['company_desc']}}</div>
                </div>
            </div>
            <div class="row">
                <label class="col-2 control-label">组织机构代码</label>
                <div class="col-4">
                    <div class="static">{{$dataInfo['organize_code']}}</div>
                </div>
                <label class="col-3 control-label">组织机构代码（扫描件）</label>
                <div class="col-3">
                    <div class="static">
                        @if ($dataInfo['organize_code_file'])
                        <a class="j_fileUrl" data-href="{{$dataInfo['organize_code_file'][0]['url']}}">{{$dataInfo['organize_code_file'][0]['name']}}</a>
                        @endif
                    </div>
                </div>
            </div>
            <div class="row">
                <label class="col-2 control-label">营业执照注册号</label>
                <div class="col-4">
                    <div class="static">{{$dataInfo['organize_regist_number']}}</div>
                </div>
                <label class="col-3 control-label">营业执照注册号（扫描件）</label>
                <div class="col-3">
                    <div class="static">
                        @if ($dataInfo['organize_regist_number_file'])
                        <a class="j_fileUrl" data-href="{{$dataInfo['organize_regist_number_file'][0]['url']}}">{{$dataInfo['organize_regist_number_file'][0]['name']}}</a>
                        @endif
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection

@section('script')
<script src="{{env('STATIC_PATH')}}/libs/datetimepicker.js"></script>
<script src="{{env('STATIC_PATH')}}/js/user_proprietor.js"></script>
@endsection
